package video.com.service;

import video.com.entity.ChatRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import video.com.transportEntity.vo.CommentPage;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xwj
 * @since 2023-11-11
 */
public interface ChatRecordService extends IService<ChatRecord> {
    String sendComment(ChatRecord chatRecord) throws Exception;

    List<Map<String, Object>> getCommentList(CommentPage info) throws Exception;

    CommentPage getSubCommentList(CommentPage info) throws Exception;

    void agree(Map<String, Object> info) throws Exception;

    void disagree(Map<String, Object> info) throws Exception;
}
